/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controlador;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author camiloacm
 */
public class ConnectionFactory1 {
    private EntityManagerFactory factory;
    
    public ConnectionFactory1(){
        factory= Persistence.createEntityManagerFactory("PruebaJPAPU");
        
    }

    public EntityManagerFactory getFactory() {
        return factory;
    }
    
    
            
            
}
